Skip to content

#412 - Keep the dashes of the process, task and generic transformer codes, deprecate their former name with underscores - #413

Merged
njoubert-cleverage merged 1 commit into
mainfrom
412
Nov 3, 2026
Merged

njoubert-cleverage merged 1 commit into
mainfrom
412

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #412.

  • Codes kept as written: normalizeKeys(false) on the generic_transformers, configurations and tasks nodes. A code with a dash (demo.x-y, next-task, to-upper) is registered as written, so the references to it work. Only these keys change: the option keys of a task (error-outputs…) are still normalized.
  • Deprecated former names: until 5.6, a code with a dash and no underscore was registered with underscores, unless that name also existed (the normalization rule of Symfony). The new internal DeprecatedCodeAliases computes these former names, which keep working with a 5.7 deprecation, until v6.0:
    • process: ProcessConfigurationRegistry::hasProcessConfiguration() / getProcessConfiguration() (commands, process_executor, UI schedules…);
    • task references (outputs, error_outputs, errors, entry_point, end_point): rewritten when the process configuration is resolved;
    • generic transformer: new internal second argument of TransformerRegistry (former name => code), set by the extension.
  • The aliases are only computed when a code or a reference is not found, or at compile time when a generic transformer code has a dash: nothing changes for the usual configurations.
  • UPGRADE.md gets a new v5.7 section. The reference docs (process definition, generic transformers) are updated.

Requirements

  • Documentation updates
    • Reference
    • Cookbooks
    • Changelog
  • Unit tests

Breaking changes

None: the former names still work, deprecated. cleverage:process:list and the UI show the codes with their dashes.

🤖 Generated with Claude Code

…odes, deprecate their former name with underscores

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@njoubert-cleverage
njoubert-cleverage requested a review from a team as a code owner November 3, 2026 10:38
@njoubert-cleverage
njoubert-cleverage merged commit 74246fd into main Nov 3, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The dashes of the process, task and generic transformer codes are replaced by underscores, the references to them fail

1 participant